package com.company.dao;

import org.hibernate.sql.Update;

import com.company.entity.Contacts;

public class ContactDao extends BaseDao<Contacts> {
	Contacts contacts;

	public Contacts getContacts() {
		return contacts;
	}

	public void setContacts(Contacts contacts) {
		this.contacts = contacts;
	}

	public Contacts query() {
		String sql = "from Contacts";
		return queryEntiy(sql);
	}

	public void Update(Contacts contacts) {
		super.update(contacts);
	}
}
